package com.springboot.demo.extend;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
public class Child extends Presont{
    String a;
    @Override
    public void doGet() {
        System.out.println("我是重写doGet");
        System.out.println(a);
    }
    public void flag(){
        super.service();
        super.doGet();
    }

}
